import 'package:website.core/core/domain/entities/web/web_purchase_item.dart';
import 'package:website.core/core/infrastructure/dtos/api/api_money_amount_dto.dart';

const kApiWebPurchaseItemSkuKey = 'sku';
const kApiWebPurchaseItemPriceKey = 'price';
const kApiWebPurchaseItemTitleKey = 'title';
const kApiWebPurchaseItemLegacyKey = 'legacy';
const kApiWebPurchaseItemTypeKey = 'type';

abstract class ApiWebPurchaseItemDto {
  String get type;

  String get sku;

  ApiMoneyAmountDto get priceDto;

  String get title;

  bool get legacy;

  WebPurchaseItem toEntity();
}
